package com.auhaix.repository;

import com.auhaix.entity.User;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * Author: Auhaix
 * E-mail: xh@qiandw.com
 * Description:
 * CreatedTime: 2017/7/26 13:30
 * Modified by:
 */
public interface UserRepository extends JpaRepository<User, Integer> {

    public List<User> findByAge(Integer age);
}
